<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<HEAD>
     <TITLE>Spacer</TITLE>
     <link rel="stylesheet" type="text/css" href="../../../ss/2.css" id="thecss">
     <script type="text/javascript" src="../../../scripts/csschange.js"></script>
</HEAD>

<BODY onload="readSS()">

<br>
<center>
<table border=3 cellpadding=5 cellspacing=0>
<tr>
     <td><h1 class="pagetitle">Spacer</h1>
         <b><a href="../../../misc/suppkey.htm">Support Key:</a></b> 
         [<span class="ns">2</span>|<span class="ns">3</span>|<span class="ns">3.2</span>|<span class="ns">4</span>] 
         [<span class="ns">X1</span>|<span class="ns">X1.1</span>]
         [<span class="ns">IE</span>|<span class="ns">M</span>|<b><i><u class="sr">N3B5-6.2</u></i></b>|<span class="ns">O</span>]</td>
     <td><a href="#what">What is it?</a><br>
         <a href="#attrib">Attributes</a><br>
         <a href="#example">Tag Example</a>
     </td>
     <td><a href="#model">Parent/Content Model</a><br>
         <a href="#tips">Tips &amp; Tricks</a><br>
         <a href="#peculiar">Browser Peculiarities</a></td>
</tr>
<tr><td align=center colspan=3>
<font size=2>= <span class="sitetitle">Index DOT Html</span> by <a href="../../../misc/email.htm">Brian Wilson</a> =</font>
</td></tr>
</table>

<font size=2>
     <a href="../../index.html">Main Index</a> |
     <a href="../../tree/htmltree.htm">Element Tree</a> |
     <a href="../../tagindex/a.htm">Element Index</a> |
     <a href="../../supportkey/a.htm">HTML Support History</a></font>
</center>
<hr align="center" width="25%">

<br><br>
<table border=1 cellspacing=0 cellpadding=5>
<tr><td>
<table border=0 cellspacing=0>
<tr>
   <th colspan=3 valign=bottom class="field"><big><u><b
       class="colheaders">&#160;&#160;&#160;Quick Statistics&#160;&#160;&#160;</b></u></big><br></th>
</tr>
<tr><th align=left><b class="l3heading"><a href="../stats.htm#et">End Tag:</a></b><br></th>
    <td rowspan=7>&nbsp;&nbsp;</td>
    <td><span class="magicword">Omitted</span></td></tr>
<tr><th align=left><b class="l3heading"><a href="../stats.htm#std">Standards Details:</a></b><br></th>
    <td>NA</td></tr>
<tr><th align=left><b class="l3heading"><a href="../stats.htm#xhtm">XHTML Modules:</a></b><br></th>
    <td>NA</td></tr>
<tr><th align=left valign=top><b class="l3heading"><a href="../stats.htm#disp">CSS 'display' Type:</a></b><br></th>
    <td>"<b class="alert">inline</b>" (replaced element)</td></tr>
<tr><th align=left valign=top><b class="l3heading"><a href="../stats.htm#css">CSS Mapping:</a></b><br></th>
    <td>NA</td></tr>
<tr><th align=left><b class="l3heading"><a href="../stats.htm#rnd">Default Rendering:</a></b><br></th>
    <td>Element is replaced with a transparent blank space of the specified dimensions</td></tr>
<tr><th align=left><b class="l3heading"><a href="../stats.htm#w3docs">Official Docs:</a></b><br></th>
    <td><a href="http://wp.netscape.com/eng/mozilla/3.0/relnotes/windows-3.0.html#Layout">Netscape 3.0 Release Notes</a></td></tr>
</table>
</td></tr>
</table>

<br>
<a name="what"></a>
<dl>
<dt><big><b class="mainheading">What is it?</b></big>
    <dd>The SPACER element attempts to give the author more control over white space 
        in HTML documents. The author can control horizontal-only spacing, vertical-only 
        spacing, or block spacing (vertical and horizontal) as well.
</dl>


<a name="attrib"></a>
<dl>
<dt><br><big><b class="mainheading">Common Attributes</b></big>
<dt><b class="subheading">%<a href="../attributes/core.htm">Core</a>%</b>
    <dd>[<span class="ns">2</span>|<span class="ns">3</span>|<span class="ns">3.2</span>|<span class="ns">4</span>] 
        [<span class="ns">X1</span>|<span class="ns">X1.1</span>]
        [<span class="ns">IE</span>|<span class="ns">M</span>|<b><i><u class="sr">N6-6.2</u></i></b>|<span class="ns">O</span>]

<dt><b class="subheading">%<a href="../attributes/accessibility.htm">Accessibility</a>%</b>
    <dd>[<span class="ns">2</span>|<span class="ns">3</span>|<span class="ns">3.2</span>|<span class="ns">4</span>] 
        [<span class="ns">X1</span>|<span class="ns">X1.1</span>]
        [<span class="ns">IE</span>|<span class="ns">M</span>|<b><i><u class="sr">N6-6.2</u></i></b>|<span class="ns">O</span>]
         
<dt><br><big><b class="mainheading">Specific Attributes</b></big>
<dt><b class="subheading">Align</b>
<dt>[<span class="ns">2</span>|<span class="ns">3</span>|<span class="ns">3.2</span>|<span class="ns">4</span>] 
    [<span class="ns">X1</span>|<span class="ns">X1.1</span>]
    [<span class="ns">IE</span>|<span class="ns">M</span>|<b><i><u class="sr">N3B5-6.2</u></i></b>|<span class="ns">O</span>]
    <dd><b class="l3heading"><a href="../stats.htm#std">Standards Details:</a></b> NA
    <dd><b class="l3heading">Required?</b> No
    <dd><b class="l3heading">Description:</b><br>
        This attribute only applies when the TYPE is <b class="alert">Block</b>.
        It controls alignment of the surrounding text relative to the spacing block.
    <dd><b class="l3heading">Values:</b><br>
        &#160;&#160;&#160;<b class="alert">Left</b> | <b class="alert">Right</b> |
        <b class="alert">Top</b> | <b class="alert">Texttop</b> |
        <b class="alert">Middle</b> | <b class="alert">Absmiddle</b> |
        <b class="alert">Baseline</b> | <b class="alert">Bottom</b> |
        <b class="alert">Absbottom</b>

<dt><b class="subheading">Height</b>
<dt>[<span class="ns">2</span>|<span class="ns">3</span>|<span class="ns">3.2</span>|<span class="ns">4</span>] 
    [<span class="ns">X1</span>|<span class="ns">X1.1</span>]
    [<span class="ns">IE</span>|<span class="ns">M</span>|<b><i><u class="sr">N3B5-6.2</u></i></b>|<span class="ns">O</span>]
    <dd><b class="l3heading"><a href="../stats.htm#std">Standards Details:</a></b> NA
    <dd><b class="l3heading">Required?</b> No
    <dd><b class="l3heading">Description:</b><br>
        This attribute only applies when the TYPE is <b class="alert">Block</b>.
        It controls the pixel height of the <b class="alert">Block</b>
        [Rectangle] SPACER element.
    <dd><b class="l3heading">Values:</b> Positive integers.

<dt><b class="subheading">Size</b>
<dt>[<span class="ns">2</span>|<span class="ns">3</span>|<span class="ns">3.2</span>|<span class="ns">4</span>] 
    [<span class="ns">X1</span>|<span class="ns">X1.1</span>]
    [<span class="ns">IE</span>|<span class="ns">M</span>|<b><i><u class="sr">N3B5-6.2</u></i></b>|<span class="ns">O</span>]
    <dd><b class="l3heading"><a href="../stats.htm#std">Standards Details:</a></b> NA
    <dd><b class="l3heading">Required?</b> No
    <dd><b class="l3heading">Description:</b><br>
         This attribute only applies when the SPACER has a TYPE of
        <b class="alert">Horizontal</b> or
        <b class="alert">Vertical</b>. It controls the pixel width or height
        of the SPACER element.
    <dd><b class="l3heading">Values:</b> Positive integers.

<dt><b class="subheading">Type</b>
<dt>[<span class="ns">2</span>|<span class="ns">3</span>|<span class="ns">3.2</span>|<span class="ns">4</span>] 
    [<span class="ns">X1</span>|<span class="ns">X1.1</span>]
    [<span class="ns">IE</span>|<span class="ns">M</span>|<b><i><u class="sr">N3B5-6.2</u></i></b>|<span class="ns">O</span>]
    <dd><b class="l3heading"><a href="../stats.htm#std">Standards Details:</a></b> NA
    <dd><b class="l3heading">Required?</b> Yes
    <dd><b class="l3heading">Description:</b><br>
        The values for TYPE allow different types of control over whitespace
        spacing.
    <dd><b class="l3heading">Values:</b><br>
        &#160;&#160;&#160;<b class="alert">Horizontal:</b>
        [<b class="magicword">DEFAULT</b>]
        This TYPE inserts horizontal space between text or content objects.
        The amount of space is
        specified by the SIZE attribute. Other SPACER attributes will be ignored.<br>
        &#160;&#160;&#160;<b class="alert">Vertical:</b>
        This TYPE inserts vertical space between lines. The amount of space is
        specified by the SIZE attribute. Other SPACER attributes will be ignored.<br>
        &#160;&#160;&#160;<b class="alert">Block</b>:
        This TYPE behaves exactly like a transparent image. When this type is
        used, the SIZE attribute will be ignored and Height, Width and Align
        will be analyzed in its place.

<dt><b class="subheading">Width</b>
<dt>[<span class="ns">2</span>|<span class="ns">3</span>|<span class="ns">3.2</span>|<span class="ns">4</span>] 
    [<span class="ns">X1</span>|<span class="ns">X1.1</span>]
    [<span class="ns">IE</span>|<span class="ns">M</span>|<b><i><u class="sr">N3B5-6.2</u></i></b>|<span class="ns">O</span>]
    <dd><b class="l3heading"><a href="../stats.htm#std">Standards Details:</a></b> NA
    <dd><b class="l3heading">Required?</b> No
    <dd><b class="l3heading">Description:</b><br>
        This attribute only applies when the TYPE is <b class="alert">Block</b>.
        It controls the pixel width of the <b class="alert">Block</b>
        [Rectangle] SPACER element.
    <dd><b class="l3heading">Values:</b> Positive integers.
</dl>


<a name="example"></a>
<dl>
<dt><big><b class="mainheading">Example</b></big>
    <dd><div class="example">&lt;<b class="tagname">spacer</b> <span class="tagattrib">type</span>=&quot;block&quot;
        <span class="tagattrib">align</span>=&quot;left&quot; <span class="tagattrib">width</span>=&quot;100&quot;
        <span class="tagattrib">height</span>=&quot;100&quot; /&gt;<br>
        This is text that began with a SPACER element. Do you like it?<br>
        &lt;<b class="tagname">br</b> <span class="tagattrib">clear</span>=&quot;left&quot; /&gt;</div>
</dl>


<a name="model"></a>
<dl>
<dt><big><b class="mainheading">Parent Model</b></big>
    <dd><b class="alert">%<a href="../shorthands.htm#inlineparent">In-line Parent</a>%</b> |
        <b class="alert">%<a href="../shorthands.htm#blockparent">Block Parent</a>%</b>
<dt><big><b class="mainheading">Content Model</b></big>
    <dd><b class="alert">This element does not accept any content</b>
</dl>


<a name="tips"></a>
<big><b class="mainheading">Tips &amp; Tricks</b></big>
<ul>
    <li>This element is not a part of any HTML standard or draft and it is pretty 
        certain it never will be, due to the wider control allowed through
        <a href="../../../css/propindex/font.htm">Cascading Style Sheets</a> 
        <span class="external">[--&gt;Index DOT Css]</span> that have been 
        incorporated in HTML 4.0. 
    <li>Netscape was the only browser to support this element, and it no 
        longer does so; its use is discouraged.
    <li><b class="alert">DTD Note:</b> No DTD information exists
        regarding this element. The behavioral model used here was the IMG
        element, which this element most closely resembles in attributes and
        intended behavior. The attribute requirement qualifications are only
        personal guesses and should not be taken as gospel (like the TYPE
        attribute being required - since HORIZONTAL is the default value, this
        is probably not required, but rather just a 'good idea'.)
</ul>

<a name="peculiar"></a>
<big><b class="mainheading">Browser Peculiarities</b></big>
<ul>
    <li>Nothing to report.
</ul>


<br>
<a href="../../../misc/copyright.htm">Boring Copyright Stuff...</a>

</BODY>
</HTML>
